home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
pcc
/
v05n05
/
dlabl.exe
/
DLABEL.DOC
< prev
Wrap
Text File
|
1992-04-06
|
3KB
|
56 lines
DLABEL May 1992 William Barden, Jr.
Page 328
----------------------------------------------------------------
Purpose: DLABEL is a BASIC program and batch file to
print a floppy disk's contents on a label.
Remarks: From the DOS prompt, enter a command with five
parameters, and DLABEL generates a label that
lists every file on the disk alphabetically. It
helps you specify which label on the sheet is to
be printed, allowing you to move around on a
sheet of labels until the last one has been
printed. You can also enter a title line on the
label, which is centered automatically on the
label. DLABEL prints in condensed 7.5-point
type with minimal line spacing to fit as many
filenames on a label as possible.
There are two variations of DLABEL in DLABEL.BAS.
One is for LaserJet-compatible printers and one
is for IBM-compatible dot matrix printers.
The trickiest part of using DLABEL is aligning
the labels and measurement parameters, so you
might want to start with regular paper stock
until you've worked out the fine points.
Format: Assuming that DLABEL.BAS, DLABEL.BAT, and
GW-BASIC or QBASIC are in your path, enter
DLABEL at the DOS prompt, followed by four
parameters, separated by one or more blanks.
Here's an example:
DLABEL This.is.a.Title a: 1 2 3
The first parameter after DLABEL is a title for
the label. Use any short text string with any
printable characters for a title, but don't use
spaces. Instead, separate words with periods.
The second parameter is the letter of the drive
whose contents you want to list. In this example,
the drive is A:, but you can have it be any
drive, including hard drives. You can also use the
path to a subdirectory.
The third, fourth, and fifth parameters allow you
to fine-tune your labels. They are measurements
in inches for, respectively, the left margin, the
top margin, and the width of the label. In the
example above, the printing occurs in a box one
inch from the left edge of the paper and two
inches from the top, and on a label three inches
wide.